home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 44
/
Aminet 44 (2001)(GTI - Schatztruhe)[!][Aug 2001].iso
/
Aminet
/
comm
/
mail
/
TruncateMail.lha
/
TruncateFolder.yam
next >
Wrap
Text File
|
2001-06-09
|
936b
|
30 lines
/********************************************
* TruncateFolder arexx script v1.1 *
* Author: Marek "March" Szyprowski *
* E-mail: march@staszic.waw.pl *
* Date: 09.06.2001 *
* * * * * * * * * * * ** * * * * * * * * * *
* Requiments: Yam 2.3+, TruncateMail v3.0+ *
********************************************
* History: *
* 1.1 - fixed problems with YAM 2.3+, does *
* not work with older version of YAM *
* 1.0 - first, initial realase *
********************************************/
OPTIONS RESULTS
ADDRESS YAM FOLDERINFO
finfo = reverse(result)
parse var finfo . . . . . fpath .
fpath = reverse(fpath)
text = "Processing mail files in dir '"||fpath||"'..."
ADDRESS YAM 'APPBUSY "'||text||'"'
ADDRESS COMMAND 'truncatemail '||fpath||'/0#? checkdate'
ADDRESS "YAM" APPNOBUSY